Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve: Scope Update Test #13189

Merged
merged 7 commits into from
Aug 14, 2023
Merged

Conversation

@BLasan BLasan force-pushed the scope-update-restriction-fix-test branch 2 times, most recently from f0f0bf1 to 77b9e07 Compare March 29, 2023 10:38
@BLasan
Copy link
Contributor Author

BLasan commented Mar 30, 2023

Tried the test case locally as an individual one. It was passing without any issue

@BLasan BLasan force-pushed the scope-update-restriction-fix-test branch 2 times, most recently from 28a3de1 to 812b89a Compare April 21, 2023 08:11
@BLasan
Copy link
Contributor Author

BLasan commented Jun 14, 2023

Ran the individual test case locally. Build passed.

INFO  [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - -- lib/runtimes/cxf3
INFO  [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Jacoco coverage HTML report path : /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-backend/target/jacoco/coverage/index.html
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,482.979 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ org.wso2.carbon.am.integration.backend.test ---
[INFO] Building jar: /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-backend/target/org.wso2.carbon.am.integration.backend.test-4.2.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ org.wso2.carbon.am.integration.backend.test ---
[INFO] Building jar: /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-backend/target/org.wso2.carbon.am.integration.backend.test-4.2.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.carbon.am.integration.backend.test ---
[INFO] Installing /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-backend/target/org.wso2.carbon.am.integration.backend.test-4.2.0-SNAPSHOT.jar to /Users/benura/.m2/repository/org/wso2/am/org.wso2.carbon.am.integration.backend.test/4.2.0-SNAPSHOT/org.wso2.carbon.am.integration.backend.test-4.2.0-SNAPSHOT.jar
[INFO] Installing /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-backend/pom.xml to /Users/benura/.m2/repository/org/wso2/am/org.wso2.carbon.am.integration.backend.test/4.2.0-SNAPSHOT/org.wso2.carbon.am.integration.backend.test-4.2.0-SNAPSHOT.pom
[INFO] Installing /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-backend/target/org.wso2.carbon.am.integration.backend.test-4.2.0-SNAPSHOT-tests.jar to /Users/benura/.m2/repository/org/wso2/am/org.wso2.carbon.am.integration.backend.test/4.2.0-SNAPSHOT/org.wso2.carbon.am.integration.backend.test-4.2.0-SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25:23 min
[INFO] Finished at: 2023-06-14T11:11:55+05:30
[INFO] ------------------------------------------------------------------------

@BLasan
Copy link
Contributor Author

BLasan commented Jun 14, 2023

Corresponding test is passing

@BLasan BLasan force-pushed the scope-update-restriction-fix-test branch from 150462e to b9e71d2 Compare June 15, 2023 01:42
msm1992
msm1992 previously approved these changes Jun 15, 2023
@BLasan
Copy link
Contributor Author

BLasan commented Jun 15, 2023

Some irrelevant tests are failing

2023-06-15T07:37:28.6545826Z [ERROR] Tests run: 53, Failures: 6, Errors: 0, Skipped: 5, Time elapsed: 2,872.498 s <<< FAILURE! - in TestSuite
2023-06-15T07:37:28.6552194Z [ERROR] org.wso2.am.integration.tests.server.restart.JWTRevocationServerRestartTestCase.testJWTTokenRevocation  Time elapsed: 60.665 s  <<< FAILURE!
2023-06-15T07:37:28.6559550Z java.lang.AssertionError: Response code mismatched when invoke api before Retire expected [200] but found [404]
2023-06-15T07:37:28.6561306Z 	at org.wso2.am.integration.tests.server.restart.JWTRevocationServerRestartTestCase.testJWTTokenRevocation(JWTRevocationServerRestartTestCase.java:86)
2023-06-15T07:37:28.6562382Z 
2023-06-15T07:37:28.6563764Z [ERROR] org.wso2.am.integration.tests.server.restart.GraphqlServerRestartTestCase.testInvokeGraphqlAPIUsingJWTApplication  Time elapsed: 7.392 s  <<< FAILURE!
2023-06-15T07:37:28.6565161Z java.lang.AssertionError: Response code is not as expected expected [200] but found [404]
2023-06-15T07:37:28.6566695Z 	at org.wso2.am.integration.tests.server.restart.GraphqlServerRestartTestCase.testInvokeGraphqlAPIUsingJWTApplication(GraphqlServerRestartTestCase.java:180)
2023-06-15T07:37:28.6567612Z 
2023-06-15T07:37:28.6568909Z [ERROR] org.wso2.am.integration.tests.server.restart.GraphqlServerRestartTestCase.testInvokeGraphqlAPIUsingOAuthApplication  Time elapsed: 6.82 s  <<< FAILURE!
2023-06-15T07:37:28.6570146Z java.lang.AssertionError: Response code is not as expected expected [200] but found [404]
2023-06-15T07:37:28.6571661Z 	at org.wso2.am.integration.tests.server.restart.GraphqlServerRestartTestCase.testInvokeGraphqlAPIUsingOAuthApplication(GraphqlServerRestartTestCase.java:207)
2023-06-15T07:37:28.6572581Z 
2023-06-15T07:37:28.6574316Z [ERROR] org.wso2.am.integration.tests.server.restart.DefaultVersionAPIServerRestartTestCase.createNewVersionWithDefaultVersionOptionAndVerifyDefaultAPIBreaking  Time elapsed: 61.383 s  <<< FAILURE!
2023-06-15T07:37:28.6576383Z java.lang.AssertionError: Default version API test failed while invoking the API. expected [<response><value>Received Request</value></response>] but found [{"code":"404","type":"Status report","message":"Not Found","description":"The requested resource is not available."}]
2023-06-15T07:37:28.6578520Z 	at org.wso2.am.integration.tests.server.restart.DefaultVersionAPIServerRestartTestCase.createNewVersionWithDefaultVersionOptionAndVerifyDefaultAPIBreaking(DefaultVersionAPIServerRestartTestCase.java:88)
2023-06-15T07:37:28.6579968Z 
2023-06-15T07:37:28.6581623Z [ERROR] org.wso2.am.integration.tests.server.restart.AccessibilityOfBlockAPIServerRestartTestCase.testInvokeAPIBeforeChangeAPILifecycleToBlock  Time elapsed: 61.604 s  <<< FAILURE!
2023-06-15T07:37:28.6583548Z java.lang.AssertionError: Response code mismatched when invoke api before block expected [200] but found [404]
2023-06-15T07:37:28.6584820Z 	at org.wso2.am.integration.tests.server.restart.AccessibilityOfBlockAPIServerRestartTestCase.testInvokeAPIBeforeChangeAPILifecycleToBlock(AccessibilityOfBlockAPIServerRestartTestCase.java:79)
2023-06-15T07:37:28.6585793Z 
2023-06-15T07:37:28.6586692Z [ERROR] org.wso2.am.integration.tests.server.restart.APILoggingServerRestartTest.testAPIPerAPILoggingTestcase  Time elapsed: 61.308 s  <<< FAILURE!
2023-06-15T07:37:28.6587651Z java.lang.AssertionError: Invocation fails for GET request expected [200] but found [404]
2023-06-15T07:37:28.6588629Z 	at org.wso2.am.integration.tests.server.restart.APILoggingServerRestartTest.testAPIPerAPILoggingTestcase(APILoggingServerRestartTest.java:71)```

@BLasan
Copy link
Contributor Author

BLasan commented Jun 18, 2023

Restart tests are failing.

@BLasan BLasan force-pushed the scope-update-restriction-fix-test branch 2 times, most recently from 9ee453f to 084f4ff Compare June 19, 2023 14:06
@BLasan
Copy link
Contributor Author

BLasan commented Jul 3, 2023

Ran the above test along with the restart tests locally. All were passed.
build.txt

@BLasan BLasan force-pushed the scope-update-restriction-fix-test branch from ba9c5af to 84478cd Compare July 24, 2023 06:37
@BLasan
Copy link
Contributor Author

BLasan commented Jul 24, 2023

INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:15,669]  INFO - CarbonAuthenticationUtil '[email protected] [-1234]' logged in at [2023-07-24 15:11:15,669+0530]
INFO  [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful
INFO  [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - testu1
INFO  [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - testu2
INFO  [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - testu3
INFO  [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - [email protected]
INFO  [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - [email protected]
INFO  [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - User was deleted successfully - [email protected]
INFO  [org.wso2.carbon.integration.common.admin.client.UserManagementClient] - Role name role1 already exists
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:15,793]  INFO - API {api:APILoggingTestAPI:v1.0.0} Destroying API: APILoggingTestAPI:v1.0.0
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:15,793]  INFO - DependencyTracker API : APILoggingTestAPI:v1.0.0 was removed from the Synapse configuration successfully
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:15,793]  INFO - DependencyTracker Local entry : c1108dd6-e158-4bb9-925a-b34940cd6426 was removed from the Synapse configuration successfully
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:15,793]  INFO - API {api:DefaultVersionAPI:v2.0.0} Destroying API: DefaultVersionAPI:v2.0.0
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:15,793]  INFO - DependencyTracker API : DefaultVersionAPI:v2.0.0 was removed from the Synapse configuration successfully
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:15,794]  INFO - DependencyTracker Local entry : c4b792af-d85c-42d1-a540-e969f2891b51 was removed from the Synapse configuration successfully
INFO  [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Role was deleted successfully - role1
INFO  [org.wso2.carbon.integration.common.admin.client.UserManagementClient] - Role name role2 already exists
INFO  [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Role was deleted successfully - role2
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:15,832]  INFO - CarbonAuthenticationUtil '[email protected] [-1234]' logged in at [2023-07-24 15:11:15,832+0530]
INFO  [org.wso2.carbon.integration.common.admin.client.AuthenticatorClient] - Login Successful
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:15,845]  INFO - TenantMgtAdminService Deactivated the tenant 'wso2.com [1]' by 'admin'
INFO  [org.wso2.carbon.integration.common.extensions.usermgt.UserPopulator] - Tenant was deleted successfully - wso2.com
INFO  [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Shutting down server..
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ClientConnectionUtil] - Successfully connected to the server on port 9943
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:15,881]  WARN - AuthenticationHandler Illegal access attempt at [2023-07-24 15:11:15,0881] from IP address 127.0.0.1 while trying to authenticate access to service ServerAdmin
INFO  [org.apache.commons.httpclient.auth.AuthChallengeProcessor] - basic authentication scheme selected
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:15,889]  INFO - CarbonAuthenticationUtil '[email protected] [-1234]' logged in at [2023-07-24 15:11:15,889+0530]
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:16,895]  INFO - CarbonServerManager Shutting down WSO2 API Manager...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:16,895]  INFO - JMSTransportHandler Starting to Shutdown the Listener...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:17,896]  INFO - JMSTaskManager Task manager for jms consumer 1000 shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:17,896]  INFO - JMSListener Stopped listening for JMS messages to listener : Siddhi-JMS-Consumer#notification
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:17,896]  INFO - JMSTransportHandler Starting to Shutdown the Listener...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:18,902]  INFO - JMSTaskManager Task manager for jms consumer 1000 shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:18,902]  INFO - JMSListener Stopped listening for JMS messages to listener : Siddhi-JMS-Consumer#keyManager
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:19,904]  INFO - JMSTaskManager Task manager for jms consumer 1000 shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:19,904]  INFO - JMSListener Stopped listening for JMS messages to listener : Siddhi-JMS-Consumer#notification
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:19,905]  INFO - JMSTransportHandler Starting to Shutdown the Listener...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:20,906]  INFO - JMSTaskManager Task manager for jms consumer 1000 shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:20,906]  INFO - JMSListener Stopped listening for JMS messages to listener : Siddhi-JMS-Consumer#throttleData
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:20,906]  INFO - JMSTransportHandler Starting to Shutdown the Listener...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:21,908]  INFO - JMSTaskManager Task manager for jms consumer 1000 shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:21,908]  INFO - JMSListener Stopped listening for JMS messages to listener : Siddhi-JMS-Consumer#tokenRevocation
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:22,914]  INFO - JMSTaskManager Task manager for jms consumer 1000 shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:22,914]  INFO - JMSListener Stopped listening for JMS messages to listener : Siddhi-JMS-Consumer#cacheInvalidation
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:23,920]  INFO - JMSTaskManager Task manager for jms consumer 1000 shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:23,920]  INFO - JMSListener Stopped listening for JMS messages to listener : Siddhi-JMS-Consumer#notification
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:24,924]  INFO - JMSTaskManager Task manager for jms consumer 1000 shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:24,924]  INFO - JMSListener Stopped listening for JMS messages to listener : Siddhi-JMS-Consumer#throttleData
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,930]  INFO - JMSTaskManager Task manager for jms consumer 1000 shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,930]  INFO - JMSListener Stopped listening for JMS messages to listener : Siddhi-JMS-Consumer#asyncWebhooksData
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,931]  INFO - JMSTransportHandler Starting to Shutdown the Listener...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,931]  INFO - JMSTransportHandler Starting to Shutdown the Listener...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,931]  INFO - JMSTransportHandler Starting to Shutdown the Listener...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,931]  INFO - JMSTransportHandler Starting to Shutdown the Listener...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,936]  INFO - CarbonServerManager Shutting down OSGi framework...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,960]  INFO - CarbonServerManager Stopping CarbonServerManager...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,961]  INFO - PassThroughHttpListener Stopping Pass-through HTTP Listener..
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,962]  INFO - PassThroughListeningIOReactorManager Pausing  IO Reactor bind for port 8780
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,962]  INFO - PassThroughListeningIOReactorManager Shutting down IO Reactor bind for port 8780
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,963]  INFO - PassThroughListeningIOReactorManager HTTP-Listener I/O dispatcher Listener shutdown.
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,969]  INFO - PassThroughHttpMultiSSLListener Stopping Pass-through HTTPS Listener..
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,969]  INFO - PassThroughListeningIOReactorManager Pausing  IO Reactor bind for port 8743
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,969]  INFO - PassThroughListeningIOReactorManager Shutting down IO Reactor bind for port 8743
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,970]  INFO - PassThroughListeningIOReactorManager HTTPS-Listener I/O dispatcher Listener shutdown.
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,970]  INFO - WebsocketTransportSender WSS Sender Shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,971]  INFO - PassThroughHttpSender HTTP Sender shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,973]  INFO - PassThroughHttpSSLSender HTTPS Sender shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,973]  INFO - WebsocketTransportSender WS Sender Shutdown
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,973]  INFO - PassThroughHttpListener Destroying PassThroughHttpListener
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:25,973]  INFO - PassThroughHttpMultiSSLListener Destroying PassThroughHttpListener
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:26,002]  INFO - CarbonEventProcessorService Successfully shutdown ExecutionPlans
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:26,054]  INFO - Axis2SynapseController Undeploying the Synapse service...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:26,054]  INFO - Axis2SynapseController Undeploying Proxy services...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:26,054]  INFO - Axis2SynapseController Undeploying EventSources...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:26,054]  INFO - InboundEndpoint Destroying Inbound Endpoint: WebSocketInboundEndpoint
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:26,057]  INFO - InboundEndpoint Destroying Inbound Endpoint: SecureWebSocketEP
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:26,059]  INFO - InboundEndpoint Destroying Inbound Endpoint: WebhookServer
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:26,059]  INFO - PassThroughListeningIOReactorManager Closing Endpoint Listener for port 9521
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:27,065]  INFO - PassThroughListeningIOReactorManager Successfully closed Endpoint Listener for port 9521
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:27,065]  INFO - InboundEndpoint Destroying Inbound Endpoint: SecureWebhookServer
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:27,065]  INFO - PassThroughListeningIOReactorManager Closing Endpoint Listener for port 8521
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - PassThroughListeningIOReactorManager Successfully closed Endpoint Listener for port 8521
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:APIThrottleBackendAPI} Destroying API: APIThrottleBackendAPI
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:HttpPATCHSupport_API} Destroying API: HttpPATCHSupport_API
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:BackEndSecurity} Destroying API: BackEndSecurity
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:Response_Custom_API} Destroying API: Response_Custom_API
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:admin--git2231head:v1.0.0} Destroying API: admin--git2231head:v1.0.0
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:schemaValidationAPI} Destroying API: schemaValidationAPI
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:git2231} Destroying API: git2231
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:admin--PizzaShackAPI:v1.0.0} Destroying API: admin--PizzaShackAPI:v1.0.0
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:JWTBackendAPI} Destroying API: JWTBackendAPI
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:Response_Error_API} Destroying API: Response_Error_API
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:Response_API_2} Destroying API: Response_API_2
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:XML_API} Destroying API: XML_API
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:Response_Loc_API} Destroying API: Response_Loc_API
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:status_code_204_API} Destroying API: status_code_204_API
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,076]  INFO - API {api:stockquote} Destroying API: stockquote
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,077]  INFO - API {api:SpecialCRN:v1.0.0} Destroying API: SpecialCRN:v1.0.0
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,077]  INFO - API {api:admin--ScriptMediatorAPI:v1.0} Destroying API: admin--ScriptMediatorAPI:v1.0
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,077]  INFO - API {api:DigestAuth_API} Destroying API: DigestAuth_API
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,077]  INFO - API {api:Version2} Destroying API: Version2
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,077]  INFO - API {api:Response_API_1} Destroying API: Response_API_1
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,077]  INFO - API {api:Version1} Destroying API: Version1
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,077]  INFO - API {api:JWKS-Backend} Destroying API: JWKS-Backend
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,077]  INFO - API {api:multiVSR:v1.0.0} Destroying API: multiVSR:v1.0.0
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,077]  INFO - API {api:_OpenService_} Destroying API: _OpenService_
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,077]  INFO - SynapseTaskManager Shutting down the task manager
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,083]  INFO - AbstractReporter Stopped JMX reporter for Metrics
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:28,184]  INFO - CarbonTomcatServiceComponent Stopping the carbon web-app registered under : /
ERROR [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - WARNING: An illegal reflective access operation has occurred
ERROR [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-restart/target/carbontmp1690189860465/wso2am-4.2.0-SNAPSHOT/repository/components/plugins/tomcat_9.0.70.wso2v1.jar) to field java.util.TimerThread.newTasksMayBeScheduled
ERROR [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
ERROR [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
ERROR [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - WARNING: All illegal access operations will be denied in a future release
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,064]  INFO - ServiceComponent Eventing Hub ServiceComponent is deactivated
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,065]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : HTTP-recommendationEventPublisher.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,067]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : HTTP-recommendationEventPublisher.xml, waiting for Output Event Adapter dependency : http-extended
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,067]  INFO - CarbonEventPublisherService Event publisher : HTTP-recommendationEventPublisher  is in inactive state because dependency could not be found : http-extended
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,067]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : jmsEventPublisher_1.10.0_2.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,068]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : jmsEventPublisher_1.10.0_2.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,068]  INFO - CarbonEventPublisherService Event publisher : jmsEventPublisher-1.0.0-2  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,068]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : keymgtEventJMSEventPublisher.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,068]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : keymgtEventJMSEventPublisher.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,068]  INFO - CarbonEventPublisherService Event publisher : keymgtEventJMSEventPublisher  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,068]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : globalCacheInvalidationJMSPublisher.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,069]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : globalCacheInvalidationJMSPublisher.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,069]  INFO - CarbonEventPublisherService Event publisher : globalCacheInvalidationJMSPublisher  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,069]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : asyncWebhooksEventPublisher_1.0.0.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,069]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : asyncWebhooksEventPublisher_1.0.0.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,069]  INFO - CarbonEventPublisherService Event publisher : asyncWebhooksEventPublisher-1.0.0  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,069]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : jmsEventPublisher2.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,069]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : jmsEventPublisher2.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,069]  INFO - CarbonEventPublisherService Event publisher : jmsEventPublisher2  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,069]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : asyncWebhooksEventPublisher.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : asyncWebhooksEventPublisher.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - CarbonEventPublisherService Event publisher : asyncWebhooksEventPublisher  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : asyncWebhooksEventPublisher_1.0.0_2.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : asyncWebhooksEventPublisher_1.0.0_2.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - CarbonEventPublisherService Event publisher : asyncWebhooksEventPublisher-1.0.0-2  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : cacheInvalidationEventJMSPublisher.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : cacheInvalidationEventJMSPublisher.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - CarbonEventPublisherService Event publisher : cacheInvalidationJMSPublisher  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : asyncWebhooksEventPublisher2.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : asyncWebhooksEventPublisher2.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - CarbonEventPublisherService Event publisher : asyncWebhooksEventPublisher2  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,070]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : blockingEventJMSPublisher.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : blockingEventJMSPublisher.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - CarbonEventPublisherService Event publisher : blockingEventJMSPublisher  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : tokenRevokeEventJMSPublisher_2.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : tokenRevokeEventJMSPublisher_2.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - CarbonEventPublisherService Event publisher : tokenRevocationJMSPublisher2  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : jmsEventPublisher_1.10.0.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : jmsEventPublisher_1.10.0.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - CarbonEventPublisherService Event publisher : jmsEventPublisher-1.0.0  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : notificationEventJMSPublisher.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : notificationEventJMSPublisher.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - CarbonEventPublisherService Event publisher : notificationJMSPublisher  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,071]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : jmsEventPublisher.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,082]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : jmsEventPublisher.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,082]  INFO - CarbonEventPublisherService Event publisher : jmsEventPublisher  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,082]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : tokenRevokeEventJMSPublisher.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,082]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : tokenRevokeEventJMSPublisher.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,082]  INFO - CarbonEventPublisherService Event publisher : tokenRevocationJMSPublisher  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,082]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : keyTemplateEventPublisher.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,082]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : keyTemplateEventPublisher.xml, waiting for Output Event Adapter dependency : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,082]  INFO - CarbonEventPublisherService Event publisher : keyTemplateEventPublisher  is in inactive state because dependency could not be found : jms
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,083]  INFO - EventPublisherDeployer Event Publisher undeployed successfully : EmailPublisher.xml
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,083]  INFO - EventPublisherDeployer Event Publisher deployment held back and in inactive state : EmailPublisher.xml, waiting for Output Event Adapter dependency : email
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,083]  INFO - CarbonEventPublisherService Event publisher : EmailPublisher  is in inactive state because dependency could not be found : email
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,089]  INFO - BinaryDataReceiverServiceComponent Binary Data Receiver server shutting down...
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,089]  INFO - BinaryDataReceiver Stopping Binary Server..
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,297]  INFO {org.wso2.carbon.core.init.CarbonServerManager} - Shutdown complete 
INFO  [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] - [2023-07-24 15:11:29,297]  INFO {org.wso2.carbon.core.init.CarbonServerManager} - Halting JVM 
INFO  [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Server stopped successfully...
INFO  [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Generating Jacoco code coverage...
INFO  [org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils] - Execution data file non empty file size in KB : 416
INFO  [org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils] - Loading execution data file /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-restart/target/jacoco/jacoco1690189866804.exec
INFO  [org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils] - Writing merged execution data to /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-restart/target/jacoco/jacoco-data-merge.exec
INFO  [org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils] - Building jar list for Jacoco coverage exclusion...
INFO  [org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils] - Building jar list for Jacoco coverage inclusion...
INFO  [org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils] - Building jar list for Jacoco coverage inclusion...
INFO  [org.wso2.carbon.automation.engine.frameworkutils.CodeCoverageUtils] - Building jar list for Jacoco coverage inclusion...
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.gateway_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.throttle.policy.deployer_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.eventing_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.eventing.hub_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.broker.lifecycle_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.devops.impl_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.cache.invalidation_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.throttling.siddhi.extension_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.solace_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.tracing_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.output.adapter.http_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.keymgt.client_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.jms.listener_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.keymgt_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.persistence_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.common.jms_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.notification_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.impl_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.common.analytics_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.api_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.common.gateway_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.tokenmgt_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.rest.api.publisher.v1.common_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.rest.api.common_9.28.123.jar
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : api#am#devops#v0.war
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : api#am#devportal.war
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : api#am#service-catalog#v1.war
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : api#am#gateway#v2.war
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : internal#data#v1.war
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : api#am#publisher.war
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : client-registration#v0.17.war
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : api#am#admin.war
INFO  [org.wso2.carbon.automation.engine.frameworkutils.ReportGenerator] - Jar file analyzed for coverage : org.wso2.carbon.apimgt.rest.api.util_9.28.123.jar
INFO  [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Jacoco coverage dump file path : /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-restart/target/jacoco/jacoco1690191693681.exec
INFO  [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Jacoco class file paths analyzed
INFO  [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - -- repository/components/plugins
INFO  [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - -- repository/deployment/server/webapps
INFO  [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - -- lib/runtimes/cxf3
INFO  [org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager] - Jacoco coverage HTML report path : /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-restart/target/jacoco/coverage/index.html
[INFO] Tests run: 53, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1,833.605 s - in TestSuite
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 53, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ org.wso2.carbon.am.integration.restart.test ---
[INFO] Building jar: /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-restart/target/org.wso2.carbon.am.integration.restart.test-4.2.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ org.wso2.carbon.am.integration.restart.test ---
[INFO] Building jar: /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-restart/target/org.wso2.carbon.am.integration.restart.test-4.2.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.carbon.am.integration.restart.test ---
[INFO] Installing /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-restart/target/org.wso2.carbon.am.integration.restart.test-4.2.0-SNAPSHOT.jar to /Users/benura/.m2/repository/org/wso2/am/org.wso2.carbon.am.integration.restart.test/4.2.0-SNAPSHOT/org.wso2.carbon.am.integration.restart.test-4.2.0-SNAPSHOT.jar
[INFO] Installing /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-restart/pom.xml to /Users/benura/.m2/repository/org/wso2/am/org.wso2.carbon.am.integration.restart.test/4.2.0-SNAPSHOT/org.wso2.carbon.am.integration.restart.test-4.2.0-SNAPSHOT.pom
[INFO] Installing /Users/benura/Desktop/Repositories/Public/product-apim/modules/integration/tests-integration/tests-restart/target/org.wso2.carbon.am.integration.restart.test-4.2.0-SNAPSHOT-tests.jar to /Users/benura/.m2/repository/org/wso2/am/org.wso2.carbon.am.integration.restart.test/4.2.0-SNAPSHOT/org.wso2.carbon.am.integration.restart.test-4.2.0-SNAPSHOT-tests.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] WSO2 API Manager - Integration New Test Module 4.2.0-SNAPSHOT SUCCESS [  4.216 s]
[INFO] WSO2 API Manager - Based on product backend Test Module SUCCESS [20:02 min]
[INFO] WSO2 API Manager - Based on product benchmark Test Module SUCCESS [07:53 min]
[INFO] WSO2 API Manager - Based on product restart Test Module 4.2.0-SNAPSHOT SUCCESS [30:39 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58:40 min
[INFO] Finished at: 2023-07-24T15:11:34+05:30
[INFO] ------------------------------------------------------------------------

Build is passed after running this test case along with the restart tests locally.

@BLasan
Copy link
Contributor Author

BLasan commented Jul 24, 2023

Now errors are bit different

2023-07-24T12:05:45.7490219Z [ERROR] Tests run: 1490, Failures: 7, Errors: 0, Skipped: 16, Time elapsed: 18,850.653 s <<< FAILURE! - in TestSuite
2023-07-24T12:05:45.7490984Z [ERROR] org.wso2.am.integration.tests.header.CORSHeadersTestCase.CheckCORSHeadersInResponse  Time elapsed: 0.138 s  <<< FAILURE!
2023-07-24T12:05:45.7491810Z java.lang.AssertionError: Response code mismatch. expected [200] but found [403]
2023-07-24T12:05:45.7492445Z 	at org.wso2.am.integration.tests.header.CORSHeadersTestCase.CheckCORSHeadersInResponse(CORSHeadersTestCase.java:194)
2023-07-24T12:05:45.7492887Z 
2023-07-24T12:05:45.7497113Z [ERROR] org.wso2.am.integration.tests.header.CORSHeadersTestCase.CheckCORSHeadersInResponse  Time elapsed: 0.12 s  <<< FAILURE!
2023-07-24T12:05:45.7497883Z java.lang.AssertionError: Response code mismatch. expected [200] but found [403]
2023-07-24T12:05:45.7498654Z 	at org.wso2.am.integration.tests.header.CORSHeadersTestCase.CheckCORSHeadersInResponse(CORSHeadersTestCase.java:194)
2023-07-24T12:05:45.7499295Z 
2023-07-24T12:05:45.7505535Z [ERROR] org.wso2.am.integration.tests.header.CORSAccessControlAllowCredentialsHeaderTestCase.CheckAccessControlAllowCredentialsHeadersWithSpecificOrigin  Time elapsed: 24.841 s  <<< FAILURE!
2023-07-24T12:05:45.7506669Z java.lang.AssertionError: Response code mismatch. expected [true] but found [false]
2023-07-24T12:05:45.7633686Z 	at org.wso2.am.integration.tests.header.CORSAccessControlAllowCredentialsHeaderTestCase.CheckAccessControlAllowCredentialsHeadersWithSpecificOrigin(CORSAccessControlAllowCredentialsHeaderTestCase.java:106)
2023-07-24T12:05:45.7634515Z 
2023-07-24T12:05:45.7635397Z [ERROR] org.wso2.am.integration.tests.header.CORSAccessControlAllowCredentialsHeaderTestCase.CheckAccessControlAllowCredentialsHeadersWithSpecificOrigin  Time elapsed: 23.551 s  <<< FAILURE!
2023-07-24T12:05:45.7636345Z java.lang.AssertionError: Response code mismatch. expected [true] but found [false]
2023-07-24T12:05:45.7637393Z 	at org.wso2.am.integration.tests.header.CORSAccessControlAllowCredentialsHeaderTestCase.CheckAccessControlAllowCredentialsHeadersWithSpecificOrigin(CORSAccessControlAllowCredentialsHeaderTestCase.java:106)
2023-07-24T12:05:45.7638156Z 
2023-07-24T12:05:45.7638665Z [ERROR] org.wso2.am.integration.tests.websocket.WebSocketAPITestCase.testWebSocketAPIInvocation  Time elapsed: 31.191 s  <<< FAILURE!
2023-07-24T12:05:45.7639247Z java.lang.AssertionError: Client cannot connect to server
2023-07-24T12:05:45.7640224Z 	at org.wso2.am.integration.tests.websocket.WebSocketAPITestCase.testWebSocketAPIInvocation(WebSocketAPITestCase.java:249)
2023-07-24T12:05:45.7640622Z 
2023-07-24T12:05:45.7641198Z [ERROR] org.wso2.am.integration.tests.websocket.WebSocketAPIInvocationWithTracingTestCase.publishWebSocketAPI  Time elapsed: 8.37 s  <<< FAILURE!
2023-07-24T12:05:45.7641931Z java.lang.AssertionError: Unable to deploy API Revisions:null expected [201] but found [400]
2023-07-24T12:05:45.7642707Z 	at org.wso2.am.integration.tests.websocket.WebSocketAPIInvocationWithTracingTestCase.publishWebSocketAPI(WebSocketAPIInvocationWithTracingTestCase.java:169)
2023-07-24T12:05:45.7643205Z 
2023-07-24T12:05:45.7643766Z [ERROR] org.wso2.am.integration.tests.websocket.WebSocketAPIInvocationWithTracingTestCase.publishWebSocketAPI  Time elapsed: 10.114 s  <<< FAILURE!
2023-07-24T12:05:45.7644480Z java.lang.AssertionError: Unable to deploy API Revisions:null expected [201] but found [400]
2023-07-24T12:05:45.7645269Z 	at org.wso2.am.integration.tests.websocket.WebSocketAPIInvocationWithTracingTestCase.publishWebSocketAPI(WebSocketAPIInvocationWithTracingTestCase.java:169)
2023-07-24T12:05:45.7645757Z 
2023-07-24T12:05:46.9419271Z [INFO] 
2023-07-24T12:05:46.9419971Z [INFO] Results:
2023-07-24T12:05:46.9420440Z [INFO] 
2023-07-24T12:05:46.9427331Z [ERROR] Failures: 
2023-07-24T12:05:46.9429798Z [ERROR] org.wso2.am.integration.tests.header.CORSAccessControlAllowCredentialsHeaderTestCase.CheckAccessControlAllowCredentialsHeadersWithSpecificOrigin
2023-07-24T12:05:46.9432726Z [ERROR]   Run 1: CORSAccessControlAllowCredentialsHeaderTestCase.CheckAccessControlAllowCredentialsHeadersWithSpecificOrigin:106 Response code mismatch. expected [true] but found [false]
2023-07-24T12:05:46.9435175Z [ERROR]   Run 2: CORSAccessControlAllowCredentialsHeaderTestCase.CheckAccessControlAllowCredentialsHeadersWithSpecificOrigin:106 Response code mismatch. expected [true] but found [false]
2023-07-24T12:05:46.9436245Z [INFO] 
2023-07-24T12:05:46.9438328Z [ERROR] org.wso2.am.integration.tests.header.CORSHeadersTestCase.CheckCORSHeadersInResponse
2023-07-24T12:05:46.9440283Z [ERROR]   Run 1: CORSHeadersTestCase.CheckCORSHeadersInResponse:194 Response code mismatch. expected [200] but found [403]
2023-07-24T12:05:46.9442126Z [ERROR]   Run 2: CORSHeadersTestCase.CheckCORSHeadersInResponse:194 Response code mismatch. expected [200] but found [403]
2023-07-24T12:05:46.9442472Z [INFO] 
2023-07-24T12:05:46.9444165Z [ERROR] org.wso2.am.integration.tests.websocket.WebSocketAPIInvocationWithTracingTestCase.publishWebSocketAPI
2023-07-24T12:05:46.9445774Z [ERROR]   Run 1: WebSocketAPIInvocationWithTracingTestCase.publishWebSocketAPI:169->APIMIntegrationBaseTest.createAPIRevisionAndDeployUsingRest:877 Unable to deploy API Revisions:null expected [201] but found [400]
2023-07-24T12:05:46.9447268Z [ERROR]   Run 2: WebSocketAPIInvocationWithTracingTestCase.publishWebSocketAPI:169->APIMIntegrationBaseTest.createAPIRevisionAndDeployUsingRest:877 Unable to deploy API Revisions:null expected [201] but found [400]
2023-07-24T12:05:46.9447934Z [INFO] 
2023-07-24T12:05:46.9448684Z [ERROR] org.wso2.am.integration.tests.websocket.WebSocketAPITestCase.testWebSocketAPIInvocation
2023-07-24T12:05:46.9451809Z [ERROR]   Run 1: WebSocketAPITestCase.testWebSocketAPIInvocation:249 Client cannot connect to server
2023-07-24T12:05:46.9452371Z [INFO]   Run 2: PASS

@BLasan BLasan merged commit 221327f into wso2:master Aug 14, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants